package com.lyh.system.domain;

import com.lyh.common.core.domain.BaseEntity;
import com.lyh.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * 【请填写功能名称】对象 sys_recharge_amount
 *
 * @author ruoyi
 * @date 2023-04-26
 */
@ApiModel(value = "充值金额管理", description = "充值金额管理")
public class SysRechargeAmount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(example = "主键")
    private Long id;

    /** 金额 */
    @Excel(name = "金额")
    @ApiModelProperty(example = "充值金额1",value ="充值金额2",name = "充值金额3",notes = "充值金额4")
    @NotNull
    private BigDecimal money;

    /** 1启用 0停用 */
    @Excel(name = "0启用 1停用")
    @ApiModelProperty(example = "状态 0启用 1停用")
    @NotNull
    private Integer status;

    @ApiModelProperty(example = "状态中文 0启用 1停用")
    private String statusName;

    private List<SysRelationValue> list;


    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public List<SysRelationValue> getList() {
        return list;
    }

    public void setList(List<SysRelationValue> list) {
        this.list = list;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("money", getMoney())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
